package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.vo.DishVO;

import java.util.List;
import java.util.zip.DataFormatException;

public interface DishService {
    List<Dish> getTypeDish(Integer id);

    List searchDish(DishPageQueryDTO dishPageQueryDTO);

    long searchCount(DishPageQueryDTO dishPageQueryDTO);

    DishVO getIdDish(Integer id);

    void addDish(DishDTO dishDTO);
    void qi(short status, Long id);

    void shan(Integer[] ids);

    void xiugai(DishDTO dishDTO);
}
